package com.atguigu.srb.base.enums;

import java.util.function.IntBinaryOperator;

/**
 * @Author wangchengshan
 * @Data 2023/3/21--17:47
 **/
public enum ShowMeBug {
    ADD("+",null),
    SUB("-",null),
    MUL("*",null),
    DIV("/",null);

    private final String symbol;

    private final IntBinaryOperator op;

    ShowMeBug(String symbol,IntBinaryOperator op){
        this.symbol = symbol;
        this.op = op;
    }
    public int apply(int a,int b ){

        return a+b;
    }
}
